package com.kevin.sportplay.bean;

/**
 * @author KevinYE
 * @creat 2021-08-11-13:06
 */
public class Page {
    /**
     * 查询用户名
     */
    private String username;
    /**
     * 分页:起始页
     */
    private int pageStart = 1;
    /**
     * 分页:每页最大显示条数
     */
    private int pageSize = 5;


    public Page() {
    }

    public Page(String username, int pageStart, int pageSize) {
        this.username = username;
        this.pageStart = pageStart;
        this.pageSize = pageSize;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getPageStart() {
        return pageStart;
    }

    public void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "Page{" +
                "username='" + username + '\'' +
                ", pageStart=" + pageStart +
                ", pageSize=" + pageSize +
                '}';
    }
}
